

package chixing.day20.work5;

import chixing.day20.work4.Location;

public class Store {
    //storeId：商家编号
    //storeLocation：商家坐标
    //storeName：商家名称
    private int storeId;
    private Location storeLocation;
    private String storeName;
    public Store() {
    }
    public Store(int storeId, Location storeLocation, String storeName) {
        this.storeId = storeId;
        this.storeLocation = storeLocation;
        this.storeName = storeName;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public Location getStoreLocation() {
        return storeLocation;
    }

    public void setStoreLocation(Location storeLocation) {
        this.storeLocation = storeLocation;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    @Override
    public String toString() {
        return "Store{" +
                "storeId=" + storeId +
                ", storeLocation=" + storeLocation +
                ", storeName='" + storeName + '\'' +
                '}';
    }
}
